package com.ctshk.rpc.ship.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 船票信息req
 * </p>
 *
 * @author 刘蕾
 * @since 2021年03月08日
 */
@Data
@ApiModel(value = "ShipZJProductApiSubmit对象", description = "船票产品信息PageReq")
public class ShipZJProductApiSubmitTicketsReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "座位ID不允許為空")
    @ApiModelProperty(value = "座位ID")
    private String seatRankId;

    @NotNull(message = "價格不允許為空")
    @ApiModelProperty(value = "价格")
    private String price;

    @NotNull(message = "票價編碼不允許為空")
    @ApiModelProperty(value = "票价编码")
    private String ticketCode;

    @NotNull(message = "航次碼不允許為空")
    @ApiModelProperty(value = "航次码")
    private String voyage;

    @NotNull(message = "旅客類型不允許為空")
    @ApiModelProperty(value = "旅客類型1 成人 2 小童 3 長者")
    private String touristTypeId;


    @NotNull(message = "旅客姓名不允許為空")
    @ApiModelProperty(value = "姓名")
    private String name;

    @NotNull(message = "旅客證件編碼不允許為空")
    @ApiModelProperty(value = "旅客證件編碼")
    private String idNumber;

    @NotNull(message = "旅客證件類型不允許為空")
    @ApiModelProperty(value = "IDTYPE:2.护照 3.港澳通行证 4.台湾通行证 5.回乡证 6.其他 7.台胞证")
    private String idType;


}
